package com.crm.model.vo.finishOrderProduct;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FinishOrderProductVO {
    private String finishOrderProductId;
    //产品编号
    private String finishOrderProductNum;

    private String productId;
    //产品名称
    private String productName;

    private String productCode;

    private String orderDetailType;

    private BigDecimal productOriginalPrice;

    private BigDecimal productUnitPrice;

    private BigDecimal productFinalPrice;

    private BigDecimal gradeMoney;

    private String productCategories;

    private String orderRelationId;

    private String productOrderId;

    private String productOrderNum;

    private String productOrderDetailId;

    private String contractType;

    private String royaltyStatus;

    private BigDecimal royaltyMoney;

    private BigDecimal ratio;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date royaltyRecordTime;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date orderCompleteTm;

    private String userName;

    private String royaltyAccountId;

    private String companyName;

    private String royaltyUerName;
    private String companyId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date arriveTime;
    //创建时间
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm;
    //产品状态  0 未回款 1退款 2部分回款 3已回款
    private String productStatus;

    private String cooperateType;

    private String delFlag;

    private Integer productStrokesServiceNumber;

    private Integer productStrokesIndustryNumber;

    private String salesmanId;

    private String  orderNumber;
    //已回款金额
    private BigDecimal paidMoney;
    //尾款
    private BigDecimal residueMoney;
    //创建人id
    private String createPeopleId;
    //合同编号
    private String contractNumber;
    //客户名称
    private String customerName;
    //业绩换算比例
    private BigDecimal performanceConversionRatio;

    private BigDecimal productMemberPrice;

    private String changeStatus;

    private String contractId;
    //1 线上 2 线下
    private String productType;
    //定价价格
    private String price;
    //兑换方式：1-电子卡；2-兑换码；3-学习码；4-充值码;5-税法直通车学习卡;6:其他
    private String exchangeMethod;

    //使用情况
    private String usageSituation;

    //备注
    private String remark;

    //产品预回款金额
    private BigDecimal productPreReturnMoney;
}